package com.ruicar.afs.cloud.channel.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import lombok.Data;

import java.util.Date;

@Data
@TableName("work_process_schedule_info")
public class WorkProcessScheduleInfo extends BaseEntity {
    /**
     * 申请编号
     */
    private String productNo;
    /**
     * 流程实例id
     */
    private String stageId;
    /**
     * 流程编号
     */
    private String stageNo;
    /**
     * 流程当前节点id
     */
    private String currentNodeId;
    /**
     * 流程当前节点名称
     */
    private String currentNodeName;
    /**
     * 流程状态
     */
    private String status;
    /**
     * 开始时间
     */
    private Date startTime;
    /**
     * 结束时间
     */
    private Date endTime;
    /**
     * 流程名称
     */
    private String processName;
    /**
     * 附条件标记
     */
    private String conditionMark;
    /**
     * 流转标记
     */
    private String turningMark;
    /**
     * 指定处理人id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long appointHandler;
}
